<!DOCTYPE html>
<html>
<head>
    <title>成功页面</title>
    <style>
        body {
            text-align: center;
            margin-top: 50px;
        }

        h1 {
            color: #4CAF50;
        }

        table {
            margin: 0 auto;
            border-collapse: collapse;
        }

        th, td {
            padding: 10px;
            border: 1px solid #ccc;
        }
    </style>
</head>
<body>
    <h1>成功页面</h1>
    <table>
        <tr>
            <th>Name</th>
            <th>Sold</th>
            <th>Sales Volume</th>
            <th>Location</th>
            <th>Rating 1</th>
            <th>Rating 2</th>
            <th>Rating 3</th>
        </tr>
        {% for product in products %}
        <tr>
            <td>{{ product.name }}</td>
            <td>{{ product.sold }}</td>
            <td>{{ product.sales_volume }}</td>
            <td>{{ product.location }}</td>
            <td>{{ product.rating_1 }}</td>
            <td>{{ product.rating_2 }}</td>
            <td>{{ product.rating_3 }}</td>
        </tr>
        {% endfor %}
    </table>
</body>
</html>
